package com.hsylient.javase.chapter11.demo01;

import java.util.concurrent.Callable;

/**
 * 创建线程方式三
 *
 * 实现Callable接口
 */
public class ImplementsCallable implements Callable<Boolean> {
    @Override
    public Boolean call() {
        System.out.println("实现了Callable接口");
        return Boolean.TRUE;
    }
}
